/var/log/fail2ban.log {
    daily
    missingok
    compress
    postrotate
	/usr/bin/fail2ban-client flushlogs 1>/dev/null || true
	chown :wheel /var/log/fail2ban.log
	chmod 640 /var/log/fail2ban.log
    endscript
}
